﻿using Smobiler.Core;
using Smobiler.Core.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FubiManger.Controls
{
    ////ToolboxItem用于控制是否添加自定义控件到工具箱，true添加，false不添加
    //[System.ComponentModel.ToolboxItem(true)]
    partial class packetrecordcontrol : Smobiler.Core.Controls.MobileUserControl
    {
        public packetrecordcontrol() : base()
        {
            //This call is required by the SmobilerUserControl.
            InitializeComponent();
        }
        /// <summary>
        /// 昵称
        /// </summary>
        public string nickanme { get; set; }
        /// <summary>
        /// 红包金额
        /// </summary>
        public string pr_packet { get; set; }
        public DateTime date { get; set; }

        private void packetrecordcontrol_Load(object sender, EventArgs e)
        {
            lblnickname.Text = nickanme;//昵称
            lblpacket.Text = pr_packet;//红包金额
            lbldate.Text = date.Hour.ToString() + ":" + date.Minute.ToString();
        }
    }
}